package com.yt.order.models.dto;


import com.baomidou.mybatisplus.annotations.TableName;
import com.yt.common.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 系统权限信息DTO
 *
 * @author zhou
 * @Date 2025-09-06 10:41:50
 */
@Data
@TableName("work_order_info")
@ApiModel(value = "工单信息对象", description = "工单信息对象")
public class WorkOrderInfoDTO extends BaseDTO implements Serializable {

    @ApiModelProperty(value = "乐观锁")
    private Integer revision;
    @ApiModelProperty(value = "标题")
    private String title;
    @ApiModelProperty(value = "描述")
    private String des;
    @ApiModelProperty(value = "姓名")
    private String name;
    @ApiModelProperty(value = "电话号码")
    private String phone;
    @ApiModelProperty(value = "地址")
    private String address;
    @ApiModelProperty(value = "支付状态（0未支付 1已付 2免费）")
    private Integer payStatus;
    @ApiModelProperty(value = "状态（0待接单 1已接单 2免费）")
    private Integer status;
    @ApiModelProperty(value = "图片")
    private String pic;
    @ApiModelProperty(value = "产品id")
    private Long productId;
    @ApiModelProperty(value = "产品数量")
    private Long productQuantity;
    @ApiModelProperty(value = "调度员id")
    private Long dispatcherId;
    @ApiModelProperty(value = "员工id")
    private Long employeeId;
    @ApiModelProperty(value = "类型(0客户下单，1自建工单)")
    private Integer type;
    @ApiModelProperty(value = "优先级(1低，2中，3高)")
    private Integer priority;
    @ApiModelProperty(value = "是否评论")
    private Integer isEvaluation;
    @ApiModelProperty(value = "客户id")
    private Long customerId;
    @ApiModelProperty(value = "价格")
    private BigDecimal price;
}